package com.me.dao.util;

import com.me.dao.people.AddressAbstractFactory;
import com.me.dao.people.impl.DbAddressFactory;
import com.me.dao.people.impl.LyAddressFactory;

/**
 * 功能：工厂生成器
 *
 * @author：dongshibo(F_baisi)
 * @create：2019/1/24/024 16:34
 * @version：2019 Version：1.0
 * @company：老屋新房 Created with IntelliJ IDEA
 */
public class AbstractFactory {
	public static AddressAbstractFactory getDbAddressFactory(){
		return new DbAddressFactory();
	}

	public static AddressAbstractFactory getLyAddressFactory(){
		return new LyAddressFactory();
	}
}
